<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>教员列表页面</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  		<h3>教员列表</h3>
    <table>
    	<tr>
    		<th>教员编号</th>
    		<th>目前身份/可授课程</th>
    		<th>自我描述</th>
    		<th>注册日期</th>
    	</tr>
    	<c:forEach items="${allTea}" var="s">
	    	<tr>
	    		<td>${s.tId }</td>
	    		<td>${s.tCurr}/${s.classe }</td>
	    		<td>${s.tIntroduce }</td>
	    		<td>${s.tStrtime }</td>
	    	</tr>
    	</c:forEach>
    </table>
  </body>
</html>
